package test.controller;

import com.business.feign.mds.newsTest.newsTestFeign;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author: mengxiangzhong
 * @date: 2023/11/17 11:15
 * @TODO:
 **/
@RestController
@Slf4j
public class OldTestController {


    @Resource
    private com.business.feign.mds.newsTest.newsTestFeign newsTestFeign;

    @GetMapping("test")
    public Object  test(){
        return "old: true";
    }

    @GetMapping("feTest")
    public Object feTest(){
        return newsTestFeign.test();
    }
}
